package com.orange.msm.service;

import com.orange.msm.utils.EmailUtil;
import org.springframework.stereotype.Service;

/**
 * @author orange
 * @email orangestart@yeah.net
 * @create 2021-12-23 22:30
 */
@Service
public class MsmServiceImpl implements MsmService{

    @Override
    public boolean sendMsm(String code, String email) {
        //发送邮箱验证码
        return EmailUtil.sendEmail(code, email);
    }
}
